﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gollie.Administration.Service.Tasks.InvoiceHelpers
{
	public class InvoiceDetailDeposits : InvoiceDetail
	{
		decimal deposit;
		decimal percentage;
		
		public InvoiceDetailDeposits(decimal amount, decimal percentage, decimal fee)
		{
			this.deposit = amount;
			this.percentage = percentage;
			this.Amount = fee;
		}

		public override string Column1()
		{
			return deposit.ToString("c2");
		}

		public override string Column3()
		{
			return (percentage / 100).ToString("P2");
		}
	}
}
